/*样式初始化*/

* {
	font-family: '微软雅黑';
}

html,
body {
	width: 100%;
	height: 100%;
}

html,
body,
div {
	margin: 0px;
	padding: 0px;
}


/*背景层*/

.g-bd {
	width: 100%;
	height: 100%;
	min-height: 820px;
	min-width: 1252px;
	background-image: url('../img/IMG_20170318_195711.jpg');
	position: absolute;
	z-index: 1;
}


/*内容层*/

.g-content {
	position: absolute;
	z-index: 2;
	min-width: 1252px;
	width: 100%;
	height: 100%;
	min-height: 820px;
	background-color: rgba(0, 0, 0, 0.6);
}


/*网站名称*/

.m-sitename {
	color: white;
	font-size: 3em;
	border-bottom: 5px solid rgb(2, 169, 143);
	padding: 0px 5px;
	display: inline-block;
	cursor: pointer;
}

.m-sitename>a {
	color: white;
	text-decoration: none;
}


/*页头*/

.m-hd {
	height: 120px;
	width: 100%;
	margin: auto;
	text-align: center;
	padding-top: 30px;
}


/*导航栏*/

.m-nav {
	color: white;
	list-style: none;
	display: inline-block;
	height: 18px;
}

.m-nav>li {
	float: left;
	padding: 0px 20px;
	font-size: 1.2em;
	cursor: pointer;
}

.m-nav>li>a {
	color: white;
	text-decoration: none;
}

.m-nav>.m-active {
	color: rgb(2, 169, 143);
	font-weight: bold;
}

.m-nav>.m-active:hover {
	text-decoration: underline;
}


/*主体*/

.m-bd {
	width: 1050px;
	height: 425px;
	background-color: rgba(0, 0, 0, 0.5);
	margin: auto;
	padding: 100px;
	border: 1px solid rgba(51, 51, 51, 0.45);
}


/*介绍*/

.m-intro-text {
	display: inline-block;
	width: 450px;
	float: left;
}

.m-intro-text>h2 {
	color: rgb(123, 117, 116);
	font-weight: normal;
}

.m-intro-text>hr {
	border: 1px solid rgb(132, 130, 131);
}

.m-intro-text>p {
	color: white;
	line-height: 30px;
	text-indent: 2em;
	font-weight: lighter;
	margin: 0px;
}

.m-intro-pic>img {
	display: inline-block;
	width: 550px;
	float: right;
}


/*成就*/

@media only screen and (max-height:820px) {
	.m-grade-list {
		top: 820px;
	}
}

@media only screen and (min-height:820px) {
	.m-grade-list {
		top: 100%;
	}
}

.m-grade-list {
	position: absolute;
	z-index: 2;
	min-width: 1252px;
	width: 100%;
	height: 100%;
}


/*标题*/

.m-grade-list>h1 {
	color: rgb(51, 51, 51);
	text-align: center;
	width: 475px;
	margin: auto;
	font-weight: normal;
	padding-top: 50px;
	padding-bottom: 2px;
	border-bottom: 2px solid rgb(214, 214, 214);
}

.m-grade-list>h1>strong {
	border-bottom: 6px solid rgb(0, 166, 145);
}

table {
	margin-top: 50px;
}

table,
tr {
	width: 100%;
	border-collapse: collapse;
}

td {
	width: 50%;
	padding: 20px;
}

tr>td:first-child {
	text-align: right;
	border-right: 1px solid rgb(213, 213, 213);
}


/*时间*/

tr>td:first-child>span {
	background-color: rgb(27, 35, 45);
	color: white;
	width: 90px;
	height: 35px;
	display: inline-block;
	text-align: center;
	line-height: 35px;
	margin-right: 50px;
	top: -14px;
	position: relative;
}


/*图标*/

tr>td i {
	color: rgb(234, 85, 35);
	position: relative;
	left: 40px;
	top: -5px;
}


/*三角形*/

tr>td:last-child>div:first-child {
	border-left: 1px solid rgb(216, 216, 216);
	border-bottom: 1px solid rgb(216, 216, 216);
	display: inline-block;
	width: 20px;
	height: 20px;
	position: relative;
	left: 65px;
	top: -25px;
	transform: rotate(45deg);
	background-color: white;
}


/*成就列表容器*/

tr>td:last-child>div:last-child {
	border: 1px solid rgb(216, 216, 216);
	padding: 10px;
	margin-left: 50px;
	display: inline-block;
	width: 325px;
	border-bottom: 4px solid rgb(75, 157, 136);
	box-shadow: 1px 1px 10px rgb(216, 216, 216), -1px -1px 10px rgb(216, 216, 216);
}

tr>td:last-child>div>span {
	display: block;
}


/*竞赛名*/

tr>td:last-child>div>span:nth-of-type(1) {
	color: black;
	font-weight: bold;
	padding: 10px 0px;
}


/*竞赛成绩*/

tr>td:last-child>div>span:last-child {
	color: rgb(144, 144, 146);
}

i {
	font-size: 40px !important;
}


/*联系我们*/

.m-contact {
	width: 100%;
	height: 350px;
	position: absolute;
	z-index: 2;
	background-color: rgb(27, 35, 46);
	margin-top: 50px;
	padding-top: 50px;
}

.m-contact>h2 {
	color: white;
	text-align: center;
	border-bottom: 2px solid rgb(205, 198, 196);
	width: 100px;
	margin: 0px auto 50px auto;
	padding-bottom: 10px;
}

.m-contact>h2>strong {
	border-bottom: 4px solid rgb(0, 167, 143);
	padding-bottom: 9px;
}


/*联系我们*/

.m-way {
	margin: auto;
	width: 801px;
	height: 160px;
}

.m-way i {
	color: rgb(0, 167, 142);
	padding-top: 25px;
	display: inline-block;
}


/*协会地址*/

.m-address {
	border-right: 1px solid rgb(145, 145, 145);
}

.m-address,
.m-qq {
	width: 400px;
	height: 100%;
	background-color: white;
	float: left;
	text-align: center;
}

.m-address>div:nth-of-type(1),
.m-qq>div:nth-of-type(1) {
	color: rgb(73, 69, 87);
	padding: 10px 0px;
}

.m-address>div:nth-of-type(2),
.m-qq>div:nth-of-type(2) {
	color: rgb(174, 175, 173);
}

.m-copyright {
	width: 100%;
	height: 30px;
	text-align: center;
	color: white;
	font-weight: lighter;
	padding-top: 40px;
}